package org.flashamaphone.voices.waveformFactories
{
	/** Generate a sine wave cycle */
	public class SineWaveFactory extends WaveFactory
	{
		/**
		 * sample a sin wave at a phase
		 */
		public override function sample(phase:Number):Number {
			return Math.sin(phase);
		}
	}
}